<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AlterOrder extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('orders', function (Blueprint $table) {
            $table->string('trade_no', 64)->nullable()->comment('平台交易号');
            $table->string('out_trade_no', 64)->nullable()->comment('外部交易号');
            $table->timestamp('cancel_at')->nullable()->comment('订单取消时间');
            $table->timestamp('comment_at')->nullable()->comment('订单评论时间');
            $table->text('ejing_remark')->nullable()->comment('e井平台备注');
            $table->text('seller_remark')->nullable()->comment('卖家备注');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
